﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200060B RID: 1547
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GameplayCounterUpdateScNotify : IMessage<GameplayCounterUpdateScNotify>, IMessage, IEquatable<GameplayCounterUpdateScNotify>, IDeepCloneable<GameplayCounterUpdateScNotify>, IBufferMessage
	{
		// Token: 0x170013DD RID: 5085
		// (get) Token: 0x06004595 RID: 17813 RVA: 0x000BE677 File Offset: 0x000BC877
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GameplayCounterUpdateScNotify> Parser
		{
			get
			{
				return GameplayCounterUpdateScNotify._parser;
			}
		}

		// Token: 0x170013DE RID: 5086
		// (get) Token: 0x06004596 RID: 17814 RVA: 0x000BE67E File Offset: 0x000BC87E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GameplayCounterUpdateScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170013DF RID: 5087
		// (get) Token: 0x06004597 RID: 17815 RVA: 0x000BE690 File Offset: 0x000BC890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GameplayCounterUpdateScNotify.Descriptor;
			}
		}

		// Token: 0x06004598 RID: 17816 RVA: 0x000BE697 File Offset: 0x000BC897
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterUpdateScNotify()
		{
		}

		// Token: 0x06004599 RID: 17817 RVA: 0x000BE69F File Offset: 0x000BC89F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterUpdateScNotify(GameplayCounterUpdateScNotify other) : this()
		{
			this.kPPGEOMIKLJ_ = other.kPPGEOMIKLJ_;
			this.reason_ = other.reason_;
			this.pFHEGFOOLHE_ = other.pFHEGFOOLHE_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600459A RID: 17818 RVA: 0x000BE6DC File Offset: 0x000BC8DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterUpdateScNotify Clone()
		{
			return new GameplayCounterUpdateScNotify(this);
		}

		// Token: 0x170013E0 RID: 5088
		// (get) Token: 0x0600459B RID: 17819 RVA: 0x000BE6E4 File Offset: 0x000BC8E4
		// (set) Token: 0x0600459C RID: 17820 RVA: 0x000BE6EC File Offset: 0x000BC8EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KPPGEOMIKLJ
		{
			get
			{
				return this.kPPGEOMIKLJ_;
			}
			set
			{
				this.kPPGEOMIKLJ_ = value;
			}
		}

		// Token: 0x170013E1 RID: 5089
		// (get) Token: 0x0600459D RID: 17821 RVA: 0x000BE6F5 File Offset: 0x000BC8F5
		// (set) Token: 0x0600459E RID: 17822 RVA: 0x000BE6FD File Offset: 0x000BC8FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterUpdateReason Reason
		{
			get
			{
				return this.reason_;
			}
			set
			{
				this.reason_ = value;
			}
		}

		// Token: 0x170013E2 RID: 5090
		// (get) Token: 0x0600459F RID: 17823 RVA: 0x000BE706 File Offset: 0x000BC906
		// (set) Token: 0x060045A0 RID: 17824 RVA: 0x000BE70E File Offset: 0x000BC90E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PFHEGFOOLHE
		{
			get
			{
				return this.pFHEGFOOLHE_;
			}
			set
			{
				this.pFHEGFOOLHE_ = value;
			}
		}

		// Token: 0x060045A1 RID: 17825 RVA: 0x000BE717 File Offset: 0x000BC917
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GameplayCounterUpdateScNotify);
		}

		// Token: 0x060045A2 RID: 17826 RVA: 0x000BE728 File Offset: 0x000BC928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GameplayCounterUpdateScNotify other)
		{
			return other != null && (other == this || (this.KPPGEOMIKLJ == other.KPPGEOMIKLJ && this.Reason == other.Reason && this.PFHEGFOOLHE == other.PFHEGFOOLHE && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060045A3 RID: 17827 RVA: 0x000BE784 File Offset: 0x000BC984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KPPGEOMIKLJ != 0U)
			{
				num ^= this.KPPGEOMIKLJ.GetHashCode();
			}
			if (this.Reason != GameplayCounterUpdateReason.None)
			{
				num ^= this.Reason.GetHashCode();
			}
			if (this.PFHEGFOOLHE != 0U)
			{
				num ^= this.PFHEGFOOLHE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060045A4 RID: 17828 RVA: 0x000BE7FB File Offset: 0x000BC9FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060045A5 RID: 17829 RVA: 0x000BE803 File Offset: 0x000BCA03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060045A6 RID: 17830 RVA: 0x000BE80C File Offset: 0x000BCA0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PFHEGFOOLHE != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.PFHEGFOOLHE);
			}
			if (this.Reason != GameplayCounterUpdateReason.None)
			{
				output.WriteRawTag(104);
				output.WriteEnum((int)this.Reason);
			}
			if (this.KPPGEOMIKLJ != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.KPPGEOMIKLJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060045A7 RID: 17831 RVA: 0x000BE884 File Offset: 0x000BCA84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KPPGEOMIKLJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KPPGEOMIKLJ);
			}
			if (this.Reason != GameplayCounterUpdateReason.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Reason);
			}
			if (this.PFHEGFOOLHE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PFHEGFOOLHE);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060045A8 RID: 17832 RVA: 0x000BE8F4 File Offset: 0x000BCAF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GameplayCounterUpdateScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KPPGEOMIKLJ != 0U)
			{
				this.KPPGEOMIKLJ = other.KPPGEOMIKLJ;
			}
			if (other.Reason != GameplayCounterUpdateReason.None)
			{
				this.Reason = other.Reason;
			}
			if (other.PFHEGFOOLHE != 0U)
			{
				this.PFHEGFOOLHE = other.PFHEGFOOLHE;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060045A9 RID: 17833 RVA: 0x000BE958 File Offset: 0x000BCB58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060045AA RID: 17834 RVA: 0x000BE964 File Offset: 0x000BCB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 104U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.KPPGEOMIKLJ = input.ReadUInt32();
						}
					}
					else
					{
						this.Reason = (GameplayCounterUpdateReason)input.ReadEnum();
					}
				}
				else
				{
					this.PFHEGFOOLHE = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001B6E RID: 7022
		private static readonly MessageParser<GameplayCounterUpdateScNotify> _parser = new MessageParser<GameplayCounterUpdateScNotify>(() => new GameplayCounterUpdateScNotify());

		// Token: 0x04001B6F RID: 7023
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001B70 RID: 7024
		public const int KPPGEOMIKLJFieldNumber = 14;

		// Token: 0x04001B71 RID: 7025
		private uint kPPGEOMIKLJ_;

		// Token: 0x04001B72 RID: 7026
		public const int ReasonFieldNumber = 13;

		// Token: 0x04001B73 RID: 7027
		private GameplayCounterUpdateReason reason_;

		// Token: 0x04001B74 RID: 7028
		public const int PFHEGFOOLHEFieldNumber = 5;

		// Token: 0x04001B75 RID: 7029
		private uint pFHEGFOOLHE_;
	}
}
